package com.glut.vo;

import java.io.Serializable;
import java.util.Date;

/**
 * 考卷表
 * @Author:沈林玉
 * @date:2020/2/2 22:54
 * @Description:
 */
public class Examination implements Serializable {

    private Long examNo; // 考卷编号(YYYYMMDDHHSSmm+学号）
    private String userID; // 出题学生的编号
    private Date examDate; // 测试时间
    private Double eDifficultyLevel; // 难度系数
    private Integer totalScores; // 总分数
    private Integer totalValues;// 试卷总分


    public Examination() {
    }

    public Examination(Long examNo, String userID, Date examDate, Double eDifficultyLevel, Integer totalScores, Integer totalValues) {
        this.examNo = examNo;
        this.userID = userID;
        this.examDate = examDate;
        this.eDifficultyLevel = eDifficultyLevel;
        this.totalScores = totalScores;
        this.totalValues = totalValues;
    }

    public Long getExamNo() {
        return examNo;
    }

    public void setExamNo(Long examNo) {
        this.examNo = examNo;
    }

    public String getUserID() {
        return userID;
    }

    public void setUserID(String userID) {
        this.userID = userID;
    }

    public Date getExamDate() {
        return examDate;
    }

    public void setExamDate(Date examDate) {
        this.examDate = examDate;
    }


    public Double geteDifficultyLevel() {
        return eDifficultyLevel;
    }

    public void seteDifficultyLevel(Double eDifficultyLevel) {
        this.eDifficultyLevel = eDifficultyLevel;
    }

    public Integer getTotalScores() {
        return totalScores;
    }

    public void setTotalScores(Integer totalScores) {
        this.totalScores = totalScores;
    }

    public Integer getTotalValues() {
        return totalValues;
    }

    public void setTotalValues(Integer totalValues) {
        this.totalValues = totalValues;
    }

    @Override
    public String toString() {
        return "Examination{" +
                "examNo=" + examNo +
                ", userID='" + userID + '\'' +
                ", examDate=" + examDate +
                ", eDifficultyLevel=" + eDifficultyLevel +
                ", totalScores=" + totalScores +
                ", totalValues=" + totalValues +
                '}';
    }
}
